<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>v-show</title>
	<script src="js/vue.js"></script>
</head>
<body>
		
<div id="app">
	<button @click="show_hid">改变</button>
	<p v-show="is_show">我默认显示（"display:none;"的增加或去掉）</p>
</div>

</body>
<script>
let vm = new Vue({
	el:'#app',
	data: {
		is_show: true
	},
	methods: {
		show_hid: function(){
			this.is_show = !this.is_show;
		}
	}
})
</script>
</html>
